package com.example.design.bilibili.builder.pattern;

/**
 * 抽象建造者
 */
public abstract class HourseBuilder {

    protected Hourse hourse = new Hourse();

    //将建造的流程写好，抽象的方法
    public abstract void buildBasic();

    public abstract void buildWalls();

    public abstract void roofed();

    //建造房子好，将产品返回（房子）
    public Hourse buildHourse(){

        return hourse;
    }

}
